<?php
namespace app\home\controller;
use app\common\model\Order_goods;
class Index extends Base
{
    public function index()
    {
        // dump($this->list);
        return view('index');
    }
    public function list()
    {
        $data=Order_goods::paginate(10);
        return view('list',['data'=>$data]);
    }
}
